package com.hzj.rtsp.service;

import com.hzj.rtsp.dto.Video;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by Hzj on 2021/6/17.
 */
@Component
public class AdminService {
    public Video getVideoById( String videoid){
        //获取自己的视频信息
        Video video = new Video();
        video.setId(videoid);
        video.setIp("58.215.*.*");
        video.setUsername("admin");
        video.setPassword("***");
        video.setRtspport(1554);
        video.setStreamtype(1);
        video.setVideoChannel(2);
        //...
        return video;
    }
}
